// g++ pointer.cpp -o pointer
#include <iostream>
int a = 3;
int *a_ptr=&a;
int main(){
    *a_ptr = 4;
    std::cout<<a<<std::endl;
}